import React from "react";
import MessageItem from "@/components/Chat/MessageItem";
import AnalysisItem from "@/components/Chat/AnalysisItem";

/**
 * ChatMessageList 组件
 * 聊天消息列表，渲染每条消息及其分析结果
 *
 * @param {Array} messages - 消息数组，每个元素结构为：
 *   {
 *     index: Number, // 消息顺序
 *     role: String,  // "user" 或 "assistant"
 *     content: String, // 消息内容
 *     analysis: {      // 可选，分析结果
 *       languageUseAnalysis: String,
 *       pronunciationAnalysis: String,
 *       pronunciationScore: Object
 *     }
 *   }
 */
export function ChatMessageList({messages}) {
  return (
    <div>
      {messages.map((message) => {

      })}
    </div>
  )
}